﻿namespace Miao.ML
{
	public class CustomData : ReferenceObjectData
	{
		public string dataText { get; set; }

		public override bool isNone => dataText == string.Empty;

		public sealed override DataType type => DataType.Custom;

		public override string ToString()
		{
			return $"{base.qualifiedName}{'&'}{base.referenceID}{Keyword.caret}{dataText}{Keyword.caret}";
		}
	}
}
